package com.liveneo.adapter.mobile.service;

import java.util.List;
import java.util.Map;
import com.liveneo.adapter.base.entity.PrpmCaseInfo;
import com.liveneo.adapter.base.entity.PrpmUser;
import com.liveneo.adapter.mobile.model.PrpmImageCheck;

@SuppressWarnings("rawtypes")
public interface ImageCheckService {
    /**已处理
     * 
     * @param currentPage
     * @param pagesize
     * @param imgCheckMap
     * @return
     */
    public abstract List<PrpmImageCheck> selectImageCheckYes(int currentPage, int pagesize, Map imgCheckMapYes);

    /**
     * 未处理
     * @param currentPage
     * @param pagesize
     * @param imgCheckMap
     * @return
     */
    public abstract List<PrpmImageCheck> selectImageCheckNo(int currentPage, int pagesize, Map imgCheckMapNo);

    public abstract int updateById(PrpmImageCheck prpmImageCheck) throws Exception;

    public abstract int save(PrpmImageCheck prpmImageCheck) throws Exception;

    public abstract PrpmImageCheck selectByCaseUuid(String caseUuid) throws Exception;

    public abstract void updateImgCheckByCaseUuid(String caseUuid, PrpmUser user, PrpmImageCheck imgCheck) throws Exception;

    public abstract int updateDealingByCaseUuid(PrpmImageCheck imgCheck) throws Exception;

    public abstract int getSurveyImgCaseNum(List<String> compUuidlist);

    public abstract int getSelfImgCaseNum(List<String> compUuidlist);

    void saveImgcheckAndUpdCase(PrpmImageCheck pCheck, PrpmCaseInfo caseInfo, String caseUuid, String uuid) throws Exception;
}
